package yzserver.sx4a.dao;

import yzserver.sx4a.domain.PermissionDomain;

import java.util.List;

public interface IPermissionDao {
    //单个权限查询
	public PermissionDomain selPermission(String permissionid);
    //权限添加
    public void addPermission(PermissionDomain permission) throws Exception;

    //权限修改
    public void updPermission(PermissionDomain permission) throws Exception;

    //权限删除
    public void delPermission(String permissionid) throws Exception;

    //查询所有权限
    public List<PermissionDomain> selAllPermission(String permissionid);

}
